package com.cgly.medical.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.cgly.medical.domain.superdomain.SuperDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author wangxiangli
 * @create 2022-08-16-14:59
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@ApiModel(value="Doctor对象", description="医生")
public class Doctor  {


    @ApiModelProperty(value = "医生ID")
    @ExcelProperty(value = "医师id",index = 0)
    private Integer id;

    @ApiModelProperty(value = "医生姓名")
    @ExcelProperty(value = "医生姓名",index = 1)
    private String name;

    @ApiModelProperty(value = "年龄")
    @ExcelProperty(value = "年龄",index = 2)
    private Integer age;

    @ApiModelProperty(value = "性别")
    @ExcelProperty(value = "性别",index = 3)
    private Integer sex;

    @ApiModelProperty(value = "医师级别id")
    @ExcelProperty(value = "医师级别id",index = 4)
    private Integer levelId;

    @ApiModelProperty(value = "手机号")
    @ExcelProperty(value = "手机号",index = 5)
    private String phone;

    @ApiModelProperty(value = "科室id")
    @ExcelProperty(value = "科室id",index = 6)
    private Integer typeId;

    @ApiModelProperty(value = "医师头像")
    @ExcelProperty(value = "医师头像",index = 7)
    private String avatar;

    @ApiModelProperty(value = "所属医院")
    @ExcelProperty(value = "所属医院",index = 8)
    private String hospital;

    @ApiModelProperty(value = "账号id")
    @ExcelProperty(value = "账号id",index = 9)
    private Integer accountId;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "创建时间",index = 10)
    private String createtime;

    @ApiModelProperty(value = "更新时间")
    @ExcelProperty(value = "更新时间",index = 11)
    private String updatetime;


    @ApiModelProperty(value = "医师级别实体")
    @ExcelIgnore
    private DoctorLevel doctorlevel;


    @ApiModelProperty(value = "诊治级别实体")
    @ExcelIgnore
    private TreatType treattype;

}
